package org.example.config;

import org.example.entity.Service;
import org.example.util.ExpiringCache;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author sxt
 * @version 1.0
 * @description TODO
 * @date 2023/7/31 22:13
 */
@Configuration
public class BeanConfig {

    @Bean
    public ExpiringCache<String, Service> addExpiringCacheBean() {
        return new ExpiringCache<>();
    }
}
